﻿namespace A14_Ex06_Noam_300476694_Shai_300380698
{
    using System;
    using System.Collections.Generic;
    using System.Text;

    public enum ePlayerType
    {
        Human,
        Computer
    }

    public enum ePlayerSymbol
    {
        X,
        O
    }

    public class Player
    {
        private readonly ePlayerType r_playerType;
        private readonly uint r_number;
        private uint m_Score;

        public ePlayerType Type 
        { 
            get 
            { 
                return r_playerType; 
            } 
        }

        public uint Number 
        { 
            get 
            { 
                return r_number; 
            } 
        }

        public uint Score 
        { 
            get 
            { 
                return m_Score;
            } 
        }

        public Player(ePlayerType i_PlayerType, uint i_PlayerNumber)
        {
            r_playerType = i_PlayerType;
            r_number = i_PlayerNumber;
            InitPlayer();
        }

        public void RaisePlayerScore()
        {
            ++m_Score;
        }

        public void InitPlayer()
        {
            m_Score = 0;
        }
    }
}
